package cn.itwen.star.graph.core.service;

import cn.itwen.star.graph.comfyui.client.pojo.ComfyuiModel;
import freemarker.template.TemplateException;

import java.io.IOException;

public interface FreemarkerService {
    /**
     * 封装comfyui提交任务的参数
     * @param model 模型数据
     * @return 模板渲染后的数据  json
     */
    public String renderText2Image(ComfyuiModel  model) throws IOException, TemplateException;
}
